(function($, undefined) {
  $.cha.ns("s3");

  $.cha.js("s3.Owner");

  /**
   * @constructor
   * @param {$.cha.s3.ListBucketResult}
   *          parent
   */
  $.cha.s3.Contents = function(parent) {
    this.parent = parent;
    this.Key = "";
    this.LastModified;
    this.ETag = "";
    this.Size = 0;
    this.Owner = new $.cha.s3.Owner();
    this.folder = false;
    this.href = "";
  };
  $.cha.s3.Contents.prototype.name = function() {
    return this.Key.substring(this.parent.Prefix.length, this.Key.length);
  };

}(jQuery));